import request from '@/utils/request'

// 查询技术字段字典列表
export function technology(query) {
  return request({
    url: '/dict/dictTechnicalField/list',
    method: 'get',
    params: query
  })
}

// 新增技术字段字典
export function technologyAdd(data) {
  return request({
    url: '/dict/dictTechnicalField',
    method: 'post',
    data: data
  })
}

// 查询技术字段字典单条详情
export function technologyEdit(params) {
  return request({
    url: '/dict/dictTechnicalField/'+params,
    method: 'get',
  })
}

// 修改技术字段字典信息
export function technologyUpdate(data) {
  return request({
    url: '/dict/dictTechnicalField',
    method: 'put',
    data: data
  })
}

// 删除技术字段字典信息
export function technologyDel(id) {
  return request({
    url: '/dict/dictTechnicalField/' + id,
    method: 'delete'
  })
}

// 导出技术字段字典信息
export function technologyExport(params) {
  return request({
    url: '/dict/dictTechnicalField/export',
    method: 'get',
  })
}